package com.xcity.robot.net.pomelo.impl;

import org.apache.mina.core.session.IoSession;

import com.xcity.robot.net.packet.HeartbeatPacket;

public class HeartbeatWriter implements Runnable {

	protected IoSession session;
	
	public HeartbeatWriter(IoSession session) {
		this.session = session;
	}
	
	@Override
	public void run() {
		session.write(HeartbeatPacket.DEFAULT);
	}

}
